<%@page import="com.zhiyou.entities.User"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
在这里显示一个用户的具体信息
此页面应该根据id再次从数据库查询，把数据显示在本页面
<%
User user=(User)session.getAttribute("user");
//User user=new User();
%>
<br/>
<form action="doUpdateUser.jsp?id=<%=user.getId()%>" method="post">
	id:<input type="text" name="id" value="<%=user.getId()%>" disabled="disabled" ><br/>
	用户名:<input type="text" name="username" value="<%=user.getUsername()%>"><br/>
	密码:<input type="text" name="pwd" value="<%=user.getPwd()%>"><br/>
    <button type="submit">修改</button>
</form>

</body>
</html>